home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / create3r / modmain.bas < prev    next >
Encoding:
BASIC Source File  |  1999-08-27  |  1.2 KB  |  25 lines

  1. Attribute VB_Name = "modMain"
  2. '================================================================================================================================================================
  3. '
  4. ' CREATED BY ANOOP.M
  5. ' madhuga@md4.vsnl.net.in
  6. '
  7. ' Feel free to mail me, if you need any help regarding this utility
  8. '
  9. ' This utility will give a starting point for developing other spy utilities
  10. ' Enjoy
  11. '================================================================================================================================================================
  12.  
  13. Public Type POINTAPI
  14.         x As Long
  15.         y As Long
  16. End Type
  17.  
  18. Public Declare Function GetParent Lib "user32" (ByVal hwnd As Long) As Long
  19. Public Declare Function WindowFromPoint Lib "user32" (ByVal xPoint As Long, ByVal yPoint As Long) As Long
  20. Public Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long
  21. Public Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As Long
  22. Public Declare Function GetClassName Lib "user32" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long
  23.  
  24.  
  25.